import csv, sys

f1 = file(sys.argv[1],'r')
#f1 = file('FTPRESULT.csv','r')
f2 = file('formater.csv','r')

c1 = csv.reader(f1, delimiter = ' ')
c2 = csv.reader(f2, delimiter = ' ')

for c1_row in c1:
#	print c1_row[0]
	for c2_row in c2:
		if c1_row[0] == c2_row[1] and c1_row[1] == c2_row[2] :
			print c2_row[1], c2_row[2] + " http://dbexploit/exploits" + c2_row[0]
